import requestPlat from '@/common/requestPlat'
import Qs from 'qs';
import  util from "@/common/util.js"
// 成长档案page
export let pageRecord_growth = (params) => {
	return requestPlat({
		method: 'get',
		url: `cargo/user/record_growth/page/${params.page}/${params.limit}`,
		params
	})
}

// 成长档案list
export let listRecord_growth = (params) => {
	return requestPlat({
		method: 'get',
		url: `cargo/user/record_growth/list`,
		params
	})
}

// 成长档案详情
export let getRecord_growth = (params) => {
	return requestPlat({
		method: 'get',
		url: `cargo/user/record_growth/detail`,
		params
	})
}

// 成长档案新增
export let addRecord_growth = (data) => {
	return requestPlat({
		method: 'post',
		url: `cargo/user/record_growth/add`,
		headers: {
			"Content-Type": 'application/json'
		},
		data:util.fuseTeamData(data),
	})
}

// 成长档案编辑
export let editRecord_growth = (data) => {
	return requestPlat({
		method: 'post',
		url: `cargo/user/record_growth/edit`,
		headers: {
			"Content-Type": 'application/json'
		},
		data
	})
}